using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for GlobalValidate
/// </summary>
public class GlobalValidate
{
    public GlobalValidate()
    {
        //
        // TODO: Add constructor logic here
        //
    }
    public static string GetActivePage
    {
        get {
            if (System.Web.HttpContext.Current.Session["GetActivePage"] == null)
                return string.Empty;
            else
                return (string)System.Web.HttpContext.Current.Session["GetActivePage"];
        }
        set {
            System.Web.HttpContext.Current.Session["GetActivePage"] = value;
        }
    }
    public static string StrJavaHeader
    {
        get
        {
            if (System.Web.HttpContext.Current.Session["StrJavaHeader"] == null)
                return string.Empty;
            else
                return (string)System.Web.HttpContext.Current.Session["StrJavaHeader"];
        }
        set
        {
            System.Web.HttpContext.Current.Session["StrJavaHeader"] = value;
        }
    }
}
